package chapter14.core;

public class Result {
    public boolean success;
    public Object data;

    public Result(Object data) {
        this.success = true;
        this.data = data;
    }

    public Result(boolean success, Object data) {
        this.success = success;
        this.data = data;
    }
}
